package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.sc.nft.enums.ApprovalStatusEnum;
import com.sc.nft.enums.MarketLevelEnum;
import com.sc.nft.enums.wallet.DepartmentDetailTypeEnum;
import com.sc.nft.enums.wallet.DepartmentTypeEnum;
import com.sc.nft.sup.SuperEntity;
import java.math.BigDecimal;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 部门钱包明细表(sc_department_wallet_detail)实体类
 *
 * @author zxy
 * @since 2023-12-18 18:02:52
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_department_wallet_detail")
public class DepartmentWalletDetail extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 部门名称
     */
    private DepartmentTypeEnum departmentType;
    /**
     * 类型
     */
    private DepartmentDetailTypeEnum type;
    /**
     * 金额
     */
    private BigDecimal amount;
    /**
     * 分配人
     */
    private Long userId;

    /**
     * 订单号
     */
    private String orderNo;
    /**
     * 市场范围
     */
    private MarketLevelEnum marketLevel;

    /**
     * 申请说明
     */
    private String applyRemark;
    /**
     * 审批说明
     */
    private String approvalRemark;
    /**
     * 状态
     */
    private ApprovalStatusEnum status;
    /**
     * 申请人
     */
    private Long applyId;
    /**
     * 审批人
     */
    private Long approvalId;

    @Version
    private Integer version;

}